# 忽略SSL认证
import requests

response = requests.get("https://www.baidu.com/", verify=False) # 默认是True

print(response.text)